---
import BaseLayout from './BaseLayout.astro'
---

<BaseLayout>
  <div class="canvas-box">
    <slot></slot>
    <canvas width="500" height="500"></canvas>
  </div>
</BaseLayout>

<style>
  .canvas-box {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
</style>
